package com.lanou3g.store.db;

import org.apache.commons.dbutils.BasicRowProcessor;
import org.apache.commons.dbutils.GenerousBeanProcessor;
import org.apache.commons.dbutils.RowProcessor;
import org.apache.commons.dbutils.handlers.BeanHandler;

public class EntityHandler<T> extends BeanHandler<T> {

    public static final RowProcessor DEFAULT_PROCESSOR = new BasicRowProcessor(new GenerousBeanProcessor());

    public EntityHandler(Class<? extends T> type) {
        super(type, DEFAULT_PROCESSOR);
    }
}
